/*  zwt */
package cn.mandy.sysadmin.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class MonitorDependence implements Serializable {
    private Long id;

    @ApiModelProperty(value = "作业ID")
    private Long jobId;

    @ApiModelProperty(value = "被依赖作业ID")
    private Long dependJobId;

    @ApiModelProperty(value = "被依赖作业名称")
    private String dependJobName;

    @ApiModelProperty(value = "被依赖作业return_code的值或status的值")
    private String dependValue;

    @ApiModelProperty(value = "依赖类型 0 return_code 1 status")
    private String dependType;

    @ApiModelProperty(value = "备注")
    private String remark;

    private Date modifyTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getJobId() {
        return jobId;
    }

    public void setJobId(Long jobId) {
        this.jobId = jobId;
    }

    public Long getDependJobId() {
        return dependJobId;
    }

    public void setDependJobId(Long dependJobId) {
        this.dependJobId = dependJobId;
    }

    public String getDependJobName() {
        return dependJobName;
    }

    public void setDependJobName(String dependJobName) {
        this.dependJobName = dependJobName;
    }

    public String getDependValue() {
        return dependValue;
    }

    public void setDependValue(String dependValue) {
        this.dependValue = dependValue;
    }

    public String getDependType() {
        return dependType;
    }

    public void setDependType(String dependType) {
        this.dependType = dependType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", jobId=").append(jobId);
        sb.append(", dependJobId=").append(dependJobId);
        sb.append(", dependJobName=").append(dependJobName);
        sb.append(", dependValue=").append(dependValue);
        sb.append(", dependType=").append(dependType);
        sb.append(", remark=").append(remark);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}